package com.share.shareplatform.sharegoods.dao;


import com.share.shareplatform.pojo.GoodsOneComment;
import com.share.shareplatform.pojo.GoodsTwoComment;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GoodsOneCommentDao {
    Long addOne(GoodsOneComment goodsOneComment);
    Integer deleteOneById(Long id);
    Integer deleteAllByIds(Long[] ids);
    List<GoodsOneComment> findAllByGoodsId(Long id);
    GoodsOneComment findOneById(Long id);

}
